package com.czy.service;

import com.czy.common.Result;
import com.czy.model.Account;
import com.czy.model.UserInfo;

/**
 * @Author: czy
 * @Date: 2019/11/8 13:53
 */
public interface AccountService {

    Result insert(Account account);

    Result login(String userName, String password);

    Integer findAccountByActivitieCode(String activiteCode);

    Integer updateAccountById(Integer userId);

    UserInfo getCurrentUser();
}
